package com.alibaba.dubbo.demo.provider;

import java.util.List;

import com.alibaba.dubbo.demo.SysFunctionInterface;
import com.alibaba.dubbo.demo.bean.PageBean;
import com.alibaba.dubbo.demo.bean.SysFunction;
import com.alibaba.dubbo.demo.provider.dao.impl.SysFuncDaoImpl;

public class SysFuncServiceImpl implements SysFunctionInterface {
	
	private SysFuncDaoImpl sysFuncDao;
	
	public SysFuncDaoImpl getSysFuncDao() {
		return sysFuncDao;
	}

	public void setSysFuncDao(SysFuncDaoImpl sysFuncDao) {
		this.sysFuncDao = sysFuncDao;
	}
	
	@Override
	public PageBean queryAllSysFunc(PageBean pageBean, int upperid) {
		// TODO Auto-generated method stub
		return sysFuncDao.queryAllSysFunc(pageBean, upperid);
	}

	@Override
	public List<SysFunction> queryAllSysFuncList(int upperid) {
		// TODO Auto-generated method stub
		return sysFuncDao.queryAllSysFuncList(upperid);
	}

	

}
